package com.luoran.car.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.luoran.car.domain.Vehicle;
import com.luoran.car.service.VehicleService;
import com.luoran.car.mapper.VehicleMapper;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author Lenovo
* @description 针对表【VEHICLES(车辆管理表)】的数据库操作Service实现
* @createDate 2024-09-18 14:22:47
*/
@Service
public class VehicleServiceImpl extends ServiceImpl<VehicleMapper, Vehicle>
    implements VehicleService{

    @Override
    public List<Vehicle> listAll(Vehicle vehicle) {
        return baseMapper.listAll(vehicle);
    }

    @Override
    public List<Vehicle> getList() {
        return baseMapper.getList();
    }

    @Override
    public void add(Vehicle vehicle) {
        baseMapper.add(vehicle);
    }

    @Override
    public List<Map<String, String>> getZxt() {
        return baseMapper.getZxt();
    }

    @Override
    public List<Map<String, String>> getZzt() {
        return baseMapper.getZzt();
    }

    @Override
    public List<Map<String, String>> getBing() {
        return baseMapper.getBing();
    }

    @Override
    public Vehicle list1(Integer vehicleId) {
        return baseMapper.list1(vehicleId);
    }

    @Override
    public Vehicle search(Integer vehicleId) {
        return baseMapper.search(vehicleId);
    }

    @Override
    public List<Vehicle> listShow() {
        return baseMapper.listShow();
    }
}




